let a = require('./a.js')//导入模块

let path = require("path");
let fs = require("fs");//filesystem

a.show()
console.log(a);
console.log(a.num);

fs.readFile(path.join(__dirname, "package.json"), (err, data) => {
  if (err) {
    console.log("错误:" + err);
  } else {
    console.log("成功:" + data);
  }
});